<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!doctype html>
<html>
<head>

  <meta name="viewport" content="width=device-width, maximum-scale=1, initial-scale=1, user-scalable=0" />
  <link rel="stylesheet" href="http://fonts.useso.com/css?family=Open+Sans:400,600,800" />


  <meta charset="utf-8" />

  <!-- Always force latest IE rendering engine or request Chrome Frame -->
  <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />

  <!-- Use title if it's in the page YAML frontmatter -->
  <title>Core Admin Theme</title>

  <link href="ui/stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" />

  <!--[if lt IE 9]>
  <script src="javascripts/vendor/html5shiv.js" type="text/javascript"></script>
  <script src="javascripts/vendor/excanvas.js" type="text/javascript"></script>
  <![endif]-->

  <script src="ui/javascripts/application.js" type="text/javascript"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>
<style>
footer{
    position:absolute;
    bottom:5px;
    left:5px;
}
</style>


<body>
<s:iterator value="idList"  >
<div class="navbar navbar-top navbar-inverse">
  <div class="navbar-inner">
    <div class="container-fluid">

      <a class="brand" href="#">XXX公司人事管理系统</a>
      <div class="nav-collapse nav-collapse-top collapse">
            <ul class="nav full pull-right">
              <li class="dropdown user-avatar open">
                <!-- the dropdown has a custom user-avatar class, this is the small avatar with the badge -->
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                  <span>
                    <img class="menu-avatar" src="ui/images/avatars/avatar1.jpg"> <span> ${id }<i class="icon-caret-down"></i></span>
                    <span class="badge badge-dark-red"></span>
                  </span>
                </a>
                <ul class="dropdown-menu">
                  <!-- the first element is the one with the big avatar, add a with-image class to it -->
                  <li class="with-image">
                    <div class="avatar">
                      <img src="ui/images/avatars/avatar1.jpg">
                    </div>
                    <span>${id }</span>
                  </li>
                  <li class="divider"></li>
                  <li><a href="#"><i class="icon-user"></i> <span>我的申请</span></a></li>
                  <li><a href="#"><i class="icon-cog"></i> <span>个人资料修改</span></a></li>
                  <li><a href="#"><i class="icon-envelope"></i> <span>Messages</span> <span class="label label-dark-red pull-right">5</span></a></li>
                  <li><a href="#"><i class="icon-table"></i> <span>查看工资</span></a></li>
                  <li><a href="#"><i class="icon-off"></i> <span>退出</span></a></li>
                </ul>
              </li>
            </ul>

            <form class="navbar-search pull-right">
              <input type="text" class="search-query animated" placeholder="Search">
              <i class="icon-search"></i>
            </form>
          </div>

    </div>
  </div>
</div>
<div class="sidebar-background">
  <div class="primary-sidebar-background"></div>
</div>

<s:property value="checkResult" /><br/>

<div class="primary-sidebar">

  <!-- Main nav -->
  <ul class="nav nav-collapse collapse nav-collapse-primary">
  
            <li class="dark-nav ">
              <span class="glow"></span>
              <a class="accordion-toggle" data-toggle="collapse" href="#3hzyGPtrSk">
                  <i class="icon-edit icon-2x"></i>
                    <span>
                                                       文书申请
                      <i class="icon-caret-down"></i>
                    </span>
              </a>

              <ul id="3hzyGPtrSk" class="in collapse" style="height: auto;">
                    <li class="">
                      <a target="mainFrame" href="/HRMS/myApplicationAction_showApplication?userId=${id}">
                          <i class="icon-plus-sign-alt"></i> 申请
                      </a>
                    </li>                 
                    <li class="">
                      <a target="mainFrame" href="/HRMS/myApprovingAction_showApproving?userId=${id}">
                          <i class="icon-hand-up"></i> 待审批文件
                      </a>
                    </li>
                    <!-- <li class="">
                      <a href="../ui_lab/general.html">
                          <i class="icon-beaker"></i> 我的申请
                      </a>
                    </li> -->
                    <li class="">
                      <a target="mainFrame" href="/HRMS/pigeonholingAction_showPigeonholing?userId=${id}">
                          <i class="icon-info-sign"></i> 待备案申请
                      </a>
                    </li>
                    <!-- <li class="">
                      <a href="../ui_lab/grid.html">
                          <i class="icon-th-large"></i> Grid
                      </a>
                    </li> -->
                    <!-- <li class="">
                      <a href="../ui_lab/tables.html">
                          <i class="icon-table"></i> 旷工登记
                      </a>
                    </li> -->
              </ul>
            </li>
            
            <li class="active">
              <span class="glow"></span>
              <a target="mainFrame" href="/HRMS/fileAction_showFiles?userId=${id}&functionId=1">
                  <i class="icon-dashboard icon-2x"></i>
                  <span>档案管理</span>
              </a>
            </li>

            <li class="active">
              <span class="glow"></span>
              <a target="mainFrame" href="/HRMS/transferAction_showTransferList?userId=${id}&functionId=2">
                  <i class="icon-link icon-2x"></i>
                  <span>人事调动</span>
              </a>
            </li>
            
            <li class="active">
              <span class="glow"></span>
              <a target="mainFrame" href="/HRMS/performanceAction_showPerformance?userId=${id}&functionId=3">
                  <i class="icon-dashboard icon-2x"></i>
                  <span>绩效考勤</span>
              </a>
            </li>
            
            <li class="active">
              <span class="glow"></span>
              <a target="mainFrame" href="/HRMS/salaryAction_showSalary?userId=${id}&functionId=4">
                  <i class="icon-dashboard icon-2x"></i>
                  <span>工资奖金</span>
              </a>
            </li>
            
            <li class="active">
              <span class="glow"></span>
              <a target="mainFrame" href="/HRMS/authorityAction_showAuthority?userId=${id}&functionId=5">
                  <i class="icon-beaker icon-2x"></i>
                  <span>权限管理</span>
              </a>
            </li>   
  </ul>
  </div>
  <footer >
      <ul>
         <li>版本：1.0</li>
         <li>请使用Chrome或者火狐浏览器</li>
         <li>written by 罗诗予</li>
         <li>2015年4月11日</li>
      </ul>
  </footer>

  <div class="main-content">
  <iframe name="mainFrame" id="mainFrame" title="mainFrame" width="1400" height="500" scrolling="yes" />
  </div>
</s:iterator>  
</body>
</html>


